package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class DM_mainActivity extends UMWindowActivity {

	protected UMWindow DM_main = null;
protected XVerticalLayout viewPage0 = null;
protected XVerticalLayout panel0 = null;
protected XHorizontalLayout nb_main = null;
protected UMButton btn_back = null;
protected XHorizontalLayout panel17 = null;
protected UMImageButton btn_menu = null;
protected XVerticalLayout panel1 = null;
protected UMToggleButtonGroup togglebuttongroup0 = null;
protected UMToggleButton togglebutton0 = null;
protected UMToggleButton togglebutton1 = null;
protected XVerticalLayout panel3 = null;
protected UMViewFlipper flipperdefine0 = null;
protected XVerticalLayout panel4 = null;
protected UMListViewBase listviewdefine0 = null;
protected XHorizontalLayout panel6 = null;
protected XHorizontalLayout panel7 = null;
protected UMCheckbox checkbox0 = null;
protected XVerticalLayout panel25 = null;
protected XHorizontalLayout panel8 = null;
protected XVerticalLayout panel9 = null;
protected XHorizontalLayout panel11 = null;
protected UMLabel label2 = null;
protected XHorizontalLayout panel12 = null;
protected UMLabel label3 = null;
protected XHorizontalLayout panel13 = null;
protected UMLabel label4 = null;
protected XHorizontalLayout panel10 = null;
protected UMImage image0 = null;
protected XVerticalLayout panel26 = null;
protected UMProgressBar progressbar0 = null;
protected XVerticalLayout panel5 = null;
protected UMListViewBase listviewdefine1 = null;
protected XHorizontalLayout panel18 = null;
protected XHorizontalLayout panel19 = null;
protected UMCheckbox checkbox2 = null;
protected XVerticalLayout panel20 = null;
protected XHorizontalLayout panel21 = null;
protected UMLabel label1 = null;
protected XHorizontalLayout panel22 = null;
protected UMLabel label0 = null;
protected XHorizontalLayout panel23 = null;
protected XHorizontalLayout panel24 = null;
protected UMLabel label6 = null;
protected XHorizontalLayout panel2 = null;
protected XHorizontalLayout panel14 = null;
protected UMCheckbox checkbox1 = null;
protected UMLabel label5 = null;
protected XHorizontalLayout panel15 = null;
protected XHorizontalLayout panel16 = null;
protected UMButton button0 = null;
protected UMButton button2 = null;

	
	protected final static int ID_DM_MAIN = 1383002033;
protected final static int ID_VIEWPAGE0 = 1778884182;
protected final static int ID_PANEL0 = 1000812084;
protected final static int ID_NB_MAIN = 1749192003;
protected final static int ID_BTN_BACK = 37207801;
protected final static int ID_PANEL17 = 1400141;
protected final static int ID_BTN_MENU = 683786824;
protected final static int ID_PANEL1 = 1211226857;
protected final static int ID_TOGGLEBUTTONGROUP0 = 228223372;
protected final static int ID_TOGGLEBUTTON0 = 2139303335;
protected final static int ID_TOGGLEBUTTON1 = 813797070;
protected final static int ID_PANEL3 = 1113975198;
protected final static int ID_FLIPPERDEFINE0 = 1608929720;
protected final static int ID_PANEL4 = 318034288;
protected final static int ID_LISTVIEWDEFINE0 = 1804041263;
protected final static int ID_PANEL6 = 384068595;
protected final static int ID_PANEL7 = 196569922;
protected final static int ID_CHECKBOX0 = 1403653682;
protected final static int ID_PANEL25 = 869920980;
protected final static int ID_PANEL8 = 320421039;
protected final static int ID_PANEL9 = 252894015;
protected final static int ID_PANEL11 = 1517174752;
protected final static int ID_LABEL2 = 1013568901;
protected final static int ID_PANEL12 = 1682246352;
protected final static int ID_LABEL3 = 1045499235;
protected final static int ID_PANEL13 = 1903219108;
protected final static int ID_LABEL4 = 1468681864;
protected final static int ID_PANEL10 = 451046312;
protected final static int ID_IMAGE0 = 431815421;
protected final static int ID_PANEL26 = 619893291;
protected final static int ID_PROGRESSBAR0 = 852432987;
protected final static int ID_PANEL5 = 1404166960;
protected final static int ID_LISTVIEWDEFINE1 = 979531960;
protected final static int ID_PANEL18 = 513035841;
protected final static int ID_PANEL19 = 633204886;
protected final static int ID_CHECKBOX2 = 109198652;
protected final static int ID_PANEL20 = 1397619822;
protected final static int ID_PANEL21 = 1684653322;
protected final static int ID_LABEL1 = 746673590;
protected final static int ID_PANEL22 = 276925689;
protected final static int ID_LABEL0 = 733619881;
protected final static int ID_PANEL23 = 2145731426;
protected final static int ID_PANEL24 = 1323341000;
protected final static int ID_LABEL6 = 484615376;
protected final static int ID_PANEL2 = 234980627;
protected final static int ID_PANEL14 = 450243444;
protected final static int ID_CHECKBOX1 = 879328193;
protected final static int ID_LABEL5 = 1060560013;
protected final static int ID_PANEL15 = 588247486;
protected final static int ID_PANEL16 = 2010060461;
protected final static int ID_BUTTON0 = 230176256;
protected final static int ID_BUTTON2 = 838636575;

	
	
	@Override
	public String getControllerName() {
		return "DM_mainController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		{ //listviewdefine0 - action:listviewdefine0_onrestart
    UMEventArgs args = new UMEventArgs(DM_mainActivity.this);
    actionListviewdefine0_onrestart(listviewdefine0,args);

}

		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("DM_main",ID_DM_MAIN);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("nb_main",ID_NB_MAIN);
  idmap.put("btn_back",ID_BTN_BACK);
  idmap.put("panel17",ID_PANEL17);
  idmap.put("btn_menu",ID_BTN_MENU);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("togglebuttongroup0",ID_TOGGLEBUTTONGROUP0);
  idmap.put("togglebutton0",ID_TOGGLEBUTTON0);
  idmap.put("togglebutton1",ID_TOGGLEBUTTON1);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("flipperdefine0",ID_FLIPPERDEFINE0);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("listviewdefine0",ID_LISTVIEWDEFINE0);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("checkbox0",ID_CHECKBOX0);
  idmap.put("panel25",ID_PANEL25);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("label2",ID_LABEL2);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("label3",ID_LABEL3);
  idmap.put("panel13",ID_PANEL13);
  idmap.put("label4",ID_LABEL4);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("image0",ID_IMAGE0);
  idmap.put("panel26",ID_PANEL26);
  idmap.put("progressbar0",ID_PROGRESSBAR0);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("listviewdefine1",ID_LISTVIEWDEFINE1);
  idmap.put("panel18",ID_PANEL18);
  idmap.put("panel19",ID_PANEL19);
  idmap.put("checkbox2",ID_CHECKBOX2);
  idmap.put("panel20",ID_PANEL20);
  idmap.put("panel21",ID_PANEL21);
  idmap.put("label1",ID_LABEL1);
  idmap.put("panel22",ID_PANEL22);
  idmap.put("label0",ID_LABEL0);
  idmap.put("panel23",ID_PANEL23);
  idmap.put("panel24",ID_PANEL24);
  idmap.put("label6",ID_LABEL6);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("panel14",ID_PANEL14);
  idmap.put("checkbox1",ID_CHECKBOX1);
  idmap.put("label5",ID_LABEL5);
  idmap.put("panel15",ID_PANEL15);
  idmap.put("panel16",ID_PANEL16);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("button2",ID_BUTTON2);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(DM_mainActivity.this);
    actionViewpage0_onload(viewPage0,args);

}
{ //panel0 - action:panel0_onload
    UMEventArgs args = new UMEventArgs(DM_mainActivity.this);
    actionPanel0_onload(panel0,args);

}
{ //listviewdefine0 - action:listviewdefine0_onload
    UMEventArgs args = new UMEventArgs(DM_mainActivity.this);
    actionListviewdefine0_onload(listviewdefine0,args);

}
{ //listviewdefine1 - action:listviewdefine1_onload
    UMEventArgs args = new UMEventArgs(DM_mainActivity.this);
    actionListviewdefine1_onload(listviewdefine1,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNb_mainView(final UMActivity context,IBinderGroup binderGroup) {
nb_main = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NB_MAIN
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","数据管理"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
btn_back = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_BACK
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_back_onclick"
,"padding-left","20"
,"font-size","20"
,"valign","center"
,"width","88"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
,"pressed-image","btn_back_touch"
);
nb_main.addView(btn_back);
panel17 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL17
,"visible","false"
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
nb_main.addView(panel17);
btn_menu = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_BTN_MENU
,"padding-top","9"
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_more_touch.png"
,"onclick","action:btn_menu_onclick"
,"icon-height","25"
,"font-size","16"
,"valign","center"
,"icon-text-spacing","3"
,"icon-background-image","tab_more.png"
,"istogglebutton","false"
,"width","40"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","right"
,"icon-width","25"
,"height","fill"
);
nb_main.addView(btn_menu);

return nb_main;
}
public View getTogglebuttongroup0View(final UMActivity context,IBinderGroup binderGroup) {
togglebuttongroup0 = (UMToggleButtonGroup)ThirdControl.createControl(new UMToggleButtonGroup(context),ID_TOGGLEBUTTONGROUP0
,"layout","hbox"
,"width","fill"
,"onchange","action:togglebuttongroup0_onchange"
,"valign","top"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
togglebutton0 = (UMToggleButton)ThirdControl.createControl(new UMToggleButton(context),ID_TOGGLEBUTTON0
,"font-pressed-color","#ffffff"
,"background-image-on","label_4_middle_touch"
,"color","#e50011"
,"font-size","17"
,"valign","center"
,"type","button"
,"texton","档案管理"
,"background-image-off","label_4_middle"
,"width","182.5"
,"checked","true"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","0"
,"textoff","档案管理"
,"height","42.0"
);
togglebuttongroup0.addView(togglebutton0);
togglebutton1 = (UMToggleButton)ThirdControl.createControl(new UMToggleButton(context),ID_TOGGLEBUTTON1
,"font-pressed-color","#ffffff"
,"background-image-on","label_4_middle_touch"
,"color","#e50011"
,"font-size","17"
,"valign","center"
,"type","button"
,"texton","单据管理"
,"background-image-off","label_4_middle"
,"width","182.5"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","1"
,"textoff","单据管理"
,"height","42.0"
);
togglebuttongroup0.addView(togglebutton1);

return togglebuttongroup0;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"width","44"
,"valign","center"
,"layout-type","hbox"
,"halign","CENTER"
,"height","fill"
);
checkbox0 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX0
,"bindfield","ischecked"
,"check-off-image","checkbox_noselect"
,"onclick","action:checkbox0_onclick"
,"check-on-image","checkbox_select"
,"width","44"
,"layout-type","hbox"
,"height","44"
);
panel7.addView(checkbox0);

return panel7;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"bindfield","appbillname"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","30.0"
,"content","工厂"
,"height","fill"
);
panel11.addView(label2);

return panel11;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL12
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"bindfield","downloadnum"
,"color","#808080"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","16.0"
,"content","22"
,"height","fill"
);
panel12.addView(label3);
panel13 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL13
,"visible","false"
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel12.addView(panel13);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"bindfield","downloadtime"
,"color","#808080"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","141.0"
,"content","2016年9月29日 10:06"
,"height","fill"
);
panel12.addView(label4);

return panel12;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL9
,"width","0"
,"weight","1"
,"valign","TOP"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
panel9.addView(panel11);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
panel9.addView(panel12);

return panel9;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","16"
,"valign","center"
,"layout-type","hbox"
,"halign","CENTER"
,"height","fill"
);
image0 = (UMImage)ThirdControl.createControl(new UMImage(context),ID_IMAGE0
,"src","arrow.png"
,"width","8"
,"scaletype","fitcenter"
,"layout-type","hbox"
,"height","12"
);
panel10.addView(image0);

return panel10;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"width","fill"
,"weight","2"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel8.addView(panel9);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
panel8.addView(panel10);

return panel8;
}
public View getPanel26View(final UMActivity context,IBinderGroup binderGroup) {
panel26 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL26
,"padding-top","0"
,"padding-left","5"
,"width","fill"
,"padding-bottom","0"
,"valign","CENTER"
,"layout-type","vbox"
,"halign","center"
,"padding-right","5"
,"height","10"
);
progressbar0 = (UMProgressBar)ThirdControl.createControl(new UMProgressBar(context),ID_PROGRESSBAR0
,"bindfield","progressbar"
,"progresscolor","#ff0000"
,"max","100"
,"width","fill"
,"progress","0"
,"layout-type","vbox"
,"margin-bottom","3"
,"height","fill"
);
panel26.addView(progressbar0);

return panel26;
}
public View getPanel25View(final UMActivity context,IBinderGroup binderGroup) {
panel25 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL25
,"width","fill"
,"valign","TOP"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel25.addView(panel8);
View panel26 = (View) getPanel26View((UMActivity)context,binderGroup);
panel25.addView(panel26);

return panel25;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"border-bottom-color","#C7C7C7"
,"background","#FFFFFF"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","70"
);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel6.addView(panel7);
View panel25 = (View) getPanel25View((UMActivity)context,binderGroup);
panel6.addView(panel25);

return panel6;
}
public View getListviewdefine0View(final UMActivity context,IBinderGroup binderGroup) {
listviewdefine0 = (UMListViewBase)ThirdControl.createControl(new UMListViewBase(context),ID_LISTVIEWDEFINE0
,"layout","vbox"
,"bindfield","bdlistdata"
,"collapsed","true"
,"onrestart","action:listviewdefine0_onrestart"
,"width","fill"
,"valign","TOP"
,"onitemclick","action:listviewdefine0_onitemclick"
,"layout-type","vbox"
,"halign","center"
,"onload","action:listviewdefine0_onload"
,"height","fill"
);
listviewdefine0.addListItemView("getPanel6View");

return listviewdefine0;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL4
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View listviewdefine0 = (View) getListviewdefine0View((UMActivity)context,binderGroup);
panel4.addView(listviewdefine0);

return panel4;
}
public View getPanel19View(final UMActivity context,IBinderGroup binderGroup) {
panel19 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL19
,"width","44"
,"valign","center"
,"layout-type","hbox"
,"halign","CENTER"
,"height","fill"
);
checkbox2 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX2
,"bindfield","ischecked"
,"check-off-image","checkbox_noselect"
,"check-on-image","checkbox_select"
,"width","44"
,"layout-type","hbox"
,"height","44"
);
panel19.addView(checkbox2);

return panel19;
}
public View getPanel21View(final UMActivity context,IBinderGroup binderGroup) {
panel21 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL21
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","110.0"
,"content","材料出库单"
,"bindfield","appbillname"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel21.addView(label1);

return panel21;
}
public View getPanel24View(final UMActivity context,IBinderGroup binderGroup) {
panel24 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL24
,"width","141"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"bindfield","downloadtime"
,"color","#000000"
,"width","fill"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","2016年9月29日 10:06"
,"height","fill"
);
panel24.addView(label6);

return panel24;
}
public View getPanel22View(final UMActivity context,IBinderGroup binderGroup) {
panel22 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL22
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"bindfield","downloadnum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","16.0"
,"content","11"
,"height","fill"
);
panel22.addView(label0);
panel23 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL23
,"width","148"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel22.addView(panel23);
View panel24 = (View) getPanel24View((UMActivity)context,binderGroup);
panel22.addView(panel24);

return panel22;
}
public View getPanel20View(final UMActivity context,IBinderGroup binderGroup) {
panel20 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL20
,"width","fill"
,"valign","TOP"
,"layout-type","hbox"
,"halign","center"
,"height","60.0"
);
View panel21 = (View) getPanel21View((UMActivity)context,binderGroup);
panel20.addView(panel21);
View panel22 = (View) getPanel22View((UMActivity)context,binderGroup);
panel20.addView(panel22);

return panel20;
}
public View getPanel18View(final UMActivity context,IBinderGroup binderGroup) {
panel18 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL18
,"border-bottom-color","#C7C7C7"
,"background","#FFFFFF"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","60.0"
);
View panel19 = (View) getPanel19View((UMActivity)context,binderGroup);
panel18.addView(panel19);
View panel20 = (View) getPanel20View((UMActivity)context,binderGroup);
panel18.addView(panel20);

return panel18;
}
public View getListviewdefine1View(final UMActivity context,IBinderGroup binderGroup) {
listviewdefine1 = (UMListViewBase)ThirdControl.createControl(new UMListViewBase(context),ID_LISTVIEWDEFINE1
,"layout","vbox"
,"bindfield","billlistdata"
,"collapsed","true"
,"width","fill"
,"weight","1"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:listviewdefine1_onload"
,"height","0"
);
listviewdefine1.addListItemView("getPanel18View");

return listviewdefine1;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL5
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View listviewdefine1 = (View) getListviewdefine1View((UMActivity)context,binderGroup);
panel5.addView(listviewdefine1);

return panel5;
}
public View getFlipperdefine0View(final UMActivity context,IBinderGroup binderGroup) {
flipperdefine0 = (UMViewFlipper)ThirdControl.createControl(new UMViewFlipper(context),ID_FLIPPERDEFINE0
,"layout","vbox"
,"width","fill"
,"viewindex","0"
,"valign","TOP"
,"onpreviousflipper","action:flipperdefine0_onpreviousflipper"
,"layout-type","vbox"
,"onnextflipper","action:flipperdefine0_onnextflipper"
,"halign","center"
,"height","fill"
);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
flipperdefine0.addView(panel4);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
flipperdefine0.addView(panel5);

return flipperdefine0;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL3
,"width","fill"
,"weight","1"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","0"
);
View flipperdefine0 = (View) getFlipperdefine0View((UMActivity)context,binderGroup);
panel3.addView(flipperdefine0);

return panel3;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL1
,"padding-top","2"
,"padding-left","2"
,"weight","1"
,"padding-bottom","2"
,"valign","TOP"
,"margin-right","3"
,"margin-left","3"
,"width","fill"
,"margin-top","3"
,"layout-type","vbox"
,"halign","center"
,"margin-bottom","3"
,"padding-right","2"
,"height","0"
);
View togglebuttongroup0 = (View) getTogglebuttongroup0View((UMActivity)context,binderGroup);
panel1.addView(togglebuttongroup0);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel1.addView(panel3);

return panel1;
}
public View getPanel14View(final UMActivity context,IBinderGroup binderGroup) {
panel14 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL14
,"width","120"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
checkbox1 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX1
,"bindfield","isAllChecked"
,"check-off-image","checkbox_noselect"
,"onclick","action:checkbox1_onclick"
,"check-on-image","checkbox_select"
,"width","44"
,"layout-type","hbox"
,"height","44"
);
panel14.addView(checkbox1);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#626262"
,"width","0"
,"weight","1"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","全选"
,"height","fill"
);
panel14.addView(label5);

return panel14;
}
public View getPanel16View(final UMActivity context,IBinderGroup binderGroup) {
panel16 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL16
,"width","wrap"
,"valign","center"
,"layout-type","hbox"
,"halign","CENTER"
,"widthwrap","125.0"
,"height","fill"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button0_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","10"
,"width","50"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","下载"
,"height","fill"
);
panel16.addView(button0);
button2 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON2
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button2_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","5"
,"margin-left","10"
,"width","50"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","清除"
,"height","fill"
);
panel16.addView(button2);

return panel16;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"padding-top","2"
,"padding-left","5"
,"width","fill"
,"padding-bottom","2"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","5"
,"height","50"
);
View panel14 = (View) getPanel14View((UMActivity)context,binderGroup);
panel2.addView(panel14);
panel15 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL15
,"visible","false"
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel2.addView(panel15);
View panel16 = (View) getPanel16View((UMActivity)context,binderGroup);
panel2.addView(panel16);

return panel2;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL0
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:panel0_onload"
,"height","fill"
);
View nb_main = (View) getNb_mainView((UMActivity)context,binderGroup);
panel0.addView(nb_main);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel0.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel0.addView(panel2);

return panel0;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F7F8F8"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
DM_main = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_DM_MAIN
,"layout","vbox"
,"controller","DM_mainController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
DM_main.addView(viewPage0);

return (UMWindow)DM_main;
}

	
	public void actionCheckbox0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "checkbox0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "dbListitemCheckChanged()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine1_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine1_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "billlistLoad()",UMActivity.getViewId(control),args);
}
public void actionBtn_back_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_back_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onPageBtnClick()",UMActivity.getViewId(control),args);
}
public void actionCheckbox1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "checkbox1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onCheckAll()",UMActivity.getViewId(control),args);
}
public void actionButton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onClearLocalData()",UMActivity.getViewId(control),args);
}
public void actionPanel0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "panel0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "bdListLoad()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "pageload()",UMActivity.getViewId(control),args);
}
public void actionFlipperdefine0_onpreviousflipper(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "flipperdefine0_onpreviousflipper";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "previous()",UMActivity.getViewId(control),args);
}
public void actionBtn_menu_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_menu_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "loadmenu()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onDownloadBaseData()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onitemclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onitemclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "dbListItemClick()",UMActivity.getViewId(control),args);
}
public void actionFlipperdefine0_onnextflipper(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "flipperdefine0_onnextflipper";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "next()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onrestart(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onrestart";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "loadBaseDocTab()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "bdListLoad()",UMActivity.getViewId(control),args);
}
public void actionTogglebuttongroup0_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "togglebuttongroup0_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "togglebtnchange()",UMActivity.getViewId(control),args);
}


}
